/**
 * 
 * XYVENUE
 * @author 湖南行云网络科技有限公司
 * 
 **/

import App from './App';
import Vue from 'vue';
import {router,RouterMount} from './router/index.js'  //路由
Vue.use(router)

import store from './store';
import xyfun from "./utils/xyfun";
import api from './utils/request';

Vue.prototype.$xyfun = xyfun;  // 通用方法
Vue.prototype.$api = api;      // api请求
Vue.prototype.$store = store;  // store

App.mpType = 'app'

const app = new Vue({
	store,
    ...App
})

// #ifdef H5
	RouterMount(app,router,'#app')
// #endif
 
// #ifndef H5
	app.$mount();
// #endif